package com.ke.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Video {
    /*
    idint NOT NULL
cidint NULL
collect_numberint NULL
create_timedate NULL
like_numberint NULL
price double NULL
uidint NULL
vaddressvarchar(255) NULL
vnamevarchar(255) NULL
pic*/
    private Integer id;
    //上传的类型
    private Integer cid;
    //收藏数
    private Integer collect_number;
    //创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date create_time;
    //点赞数
    private Integer like_number;
    //价格
    private  double price;
    //用户的
    private Integer uid;
    //视频地址值
    private String vaddress;
    //标题
    private String vname;
    //后台整体展示时图片
    private String pic;
}
